package com.iotek.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.iotek.dao.CustomerDao;
import com.iotek.entity.Customer;
import com.iotek.service.CustomerService;

@Service
public class CustomerServiceImpl implements CustomerService{
	@Resource
	private CustomerDao customerDao;

	@Override
	public Customer login(Customer customer) {
		return customerDao.login(customer);
	}

	@Override
	public int addCustomer(Customer customer) {
		return customerDao.addCustomer(customer);
	} 
		
}
